import React from 'react'
import { Link, useNavigate } from 'react-router-dom';


/**
 * header  左边的导航
 * @returns 
 */
const Nav = () => {
    const navigate = useNavigate();
    return (
        <ul className='nav-link-ul'>
            <li className='nav-link-item' onClick={() => navigate('/')}>
                logo
            </li>
            <li className='nav-link-item' onClick={() => navigate('game')}>
                游戏中心
            </li>
            <li className='nav-link-item' onClick={() => navigate('direct-seeding')}>直播</li>
            <li className='nav-link-item' onClick={() => navigate('member')}>会员购</li>
            <li className='nav-link-item' onClick={() => navigate('game')}>漫画</li>
            <li className='nav-link-item' onClick={() => navigate('match')}>赛事</li>
        </ul>
    )
}

export default Nav;
